package com.yunxi.account.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.account.pojo.AccountGroupVO;
import com.yunxi.core.web.LoginInfo;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 帐户组 服务类
 * </p>
 *
 * @author
 * @since 2019-05-18
 */
public interface AccountGroupDubboService {

   AccountGroupVO getById(String id) throws InvocationTargetException, IllegalAccessException;

   void saveOrUpdate(AccountGroupVO accountGroupVO, LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

   void removeById(String id);

   PageInfo<AccountGroupVO> findPageByVO(AccountGroupVO accountGroupVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

   AccountGroupVO load(String accountGroupCode);

   List listByVo(AccountGroupVO accountGroupVO);

   void removeByListVo(List<AccountGroupVO> accountGroupVOList, LoginInfo loginInfo) throws IllegalAccessException, InvocationTargetException, InstantiationException;
}
